Skip to content

fix: remaining issues in the test suite following the upgrade to kokkos-5.1#382

Merged
glesur merged 5 commits into
idefix-code:kokkos5.1from
svalat:fix/kokkos5.1-volatile-issue
Jun 4, 2026
Merged

fix: remaining issues in the test suite following the upgrade to kokkos-5.1#382
glesur merged 5 commits into
idefix-code:kokkos5.1from
svalat:fix/kokkos5.1-volatile-issue

Conversation

@svalat

@svalat svalat commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

This PR contains several fixes to make the test suite passing again after the upgrade to kokkos-5.1 :

  1. Removal of a non required volatile keyword in an operator+=
  2. add pybind11 to test/python_requirements.txt as it is used by some tests
  3. add a python package pre-install action to build a venv before running the tests suite in github actions
  4. Finish to rename some types HostMirror => host_mirror_type

The test suite is now passing again.

@svalat svalat added the bug Something isn't working label Jun 3, 2026
@svalat svalat force-pushed the fix/kokkos5.1-volatile-issue branch from d2e172a to 87ca9cd Compare June 3, 2026 09:39
@svalat svalat force-pushed the fix/kokkos5.1-volatile-issue branch from 87ca9cd to 1baed7a Compare June 4, 2026 09:19
@svalat svalat changed the title fix: build issue on recent compiler about volatile keyword in operator += fix: remaining issues in the test suite following the upgrade to kokkos5.1 Jun 4, 2026
@svalat svalat changed the title fix: remaining issues in the test suite following the upgrade to kokkos5.1 fix: remaining issues in the test suite following the upgrade to kokkos-5.1 Jun 4, 2026
# note that no version of inifix supports Python older than 3.6
inifix>=0.11.2

# It supports Python 3.8 as minimum.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment makes the one I added to inifix redundant.

While this is being looked at, could we specify a minimal requirement for Python itself, even if it's just a comment ?

3.11 is widely distributed and likely sufficient nowadays, if I may add a suggestion.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming you're refereing to #381 ? I don't see how this comment make yours redundant,nor why we should require python 3.11 (this is only 4 years old)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no I'm talking about the comment on line 9 of the same file. It doesn't matter any more that inifix requires 3.6+ if another dependency requires an even newer version.

(this is only 4 years old)

Python versions stop receiving security fixes after 5 years, and 3.10 is about to go EOL. That's why I don't recommend older versions. But of course you do you.
https://devguide.python.org/versions/

@glesur glesur deleted the branch idefix-code:kokkos5.1 June 4, 2026 14:36
@glesur glesur closed this Jun 4, 2026
@glesur glesur reopened this Jun 4, 2026
@glesur glesur merged commit 433ee1f into idefix-code:kokkos5.1 Jun 4, 2026
43 of 55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants